/* 该方法在流转过程中会自动调用,千万不能删除,否则会出现脚本调用异常 */
function shibanfashouwen_() {
	/* 添加自定义的函数脚本 */
	if (arguments && arguments.length) {
		if (typeof arguments[0] == 'string' && arguments[0] == 'save') {
			window.location.href = context
					+ '/system/flowlist.do?method=mypendinglist&key=' + objkey;
		} else if (typeof arguments[0] == 'string'
				&& (arguments[0] == 'send' || arguments[0] == 'finish')) {
			window.location.href = context
					+ '/system/flowlist.do?method=mydonelist&key=' + objkey;
		} else if (typeof arguments[0] == 'string' && arguments[0] == 'back') {
			window.location.href = context
					+ '/system/flowlist.do?method=mypendinglist&key=' + objkey;
		} else if (typeof arguments[0] == 'string' && arguments[0] == 'finish') {
			window.location.href = context
					+ '/system/flowlist.do?method=mypendinglist&key=' + objkey;
		}
	}

	/* 调整父窗口frame高度 */
	if (parent.resizeFrame) {
		parent
				.resizeFrame(document.getElementsByTagName("body")[0].scrollHeight);
	}
	if (newA && D('COL_OUTEJMYBZJ')) {
		D('COL_OUTEJMYBZJ').value = tdate1;
		$('COL_OUTEJMYBZJ_label').innerHTML = tdate;
	}

	if (arguments && arguments.length) {
		if (typeof arguments[0] == 'string' && arguments[0] == 'save') {
			window.location.href = context
					+ '/system/flowlist.do?method=mypendinglist&key=' + objkey;
		} else if (typeof arguments[0] == 'string'
				&& (arguments[0] == 'send' || arguments[0] == 'finish')) {
			window.location.href = context
					+ '/system/flowlist.do?method=mydonelist&key=' + objkey;
		} else if (typeof arguments[0] == 'string' && arguments[0] == 'back') {
			window.location.href = context
					+ '/system/flowlist.do?method=mypendinglist&key=' + objkey;
		} else if (typeof arguments[0] == 'string' && arguments[0] == 'finish') {
			window.location.href = context
					+ '/system/flowlist.do?method=mypendinglist&key=' + objkey;
		}
	}

}